import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'business-';

export default {
    path: '/business',
    name: 'business',
    redirect: {
        name: `${pre}ip`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'orderProduct',
            name: `${pre}orderProduct`,
            meta: {
                ...meta,
                title: '订购产品',
            },
            component: () => import('@/pages/business/orderProduct')
        },
        {
            path: 'ip',
            name: `${pre}ip`,
            meta: {
                ...meta,
                title: '业务列表',
            },
            component: () => import('@/pages/business/ip')
        },
    ]
};
